﻿

// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-06-08 16:43:26
// 负责人：Sushee
// ===================================================================

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using OF.Component.Model;
using OF.Component.DTO;

namespace OF.Component.IDAL
{
	
	/// <summary>
	///发单动态 数据访问层接口  
	/// </summary>
	internal partial interface IPostSend
	{
		
         /// <summary>
    	 /// 根据断言条件获取单个发单动态
    	 /// </summary>
    	 PostSendInfo QuerySingle(Expression<Func<PostSendInfo, bool>> predicate);
         /// <summary>
    	 /// 根据断言条件获获取发单动态列表
    	 /// </summary>
	     IList<PostSendInfo> QueryList(Expression<Func<PostSendInfo, bool>> predicate);

        /// <summary>
        /// 查询列表
        /// </summary>
        /// <param name="scObj"></param>
        /// <returns></returns>
        IList<PostSendDto> SearchList(scPostSend scObj);

        /// <summary>
        /// 发单接单合并数据
        /// </summary>
        /// <param name="shopId"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="totalRecord"></param>
        /// <returns></returns>
        IList<PostInfoDto> SearchPostList(int shopId, int pageIndex, int pageSize, out int totalRecord);

        /// <summary>
        /// 获取发单详情
        /// </summary>
        /// <param name="scObj"></param>
        /// <returns></returns>
        PostDetailDto SearchPostSendDetail(int shopId);

    } 

	
}